<div class="containertable">

<h2>{$smarty.const.LA_SELLER_INFO}</h2>


<table width="60%"><tr><td>
{if $VENDOR_URL AND $VENDOR_HOMEPAGE AND $IS_VENDOR}
	<a href='{*$VENDOR_HOMEPAGE*}' target='new'><img src='{$VENDOR_URL}' height="100" width="400" border='0'></a>
{elseif $VENDOR_HOMEPAGE AND $IS_VENDOR}
	<a href='{*$VENDOR_HOMEPAGE*}' target='new'>{$VENDOR_HOMEPAGE}</a>
{elseif $VENDOR_URL AND $IS_VENDOR}
	<img src="{$VENDOR_URL}" alt="" height="100" />
{/if}
	

</td><td valign="top">
	<table class="bg">	
	<tr>		
		<td width="200px" ><b>{$smarty.const.LA_SELLER}:</b></td>
		<td><b><a href="#" onclick="javascript: showPopUpContactoVendedor(0,{$USER_ID}); return false;">{$NAME}</a></b></td>
	</tr>
	<!-- Extra Fields: USERS Start  -->	  
	<tr>
		<td colspan="2">&nbsp;</td>
	</tr>
	{foreach item=e from=$user_extra}
	{if $e.value}
	
		{if $e.description}
			<tr>
				<td colspan="2">
			   		<b>{$e.description}</b><hr style="color:black;" width="50%" align="left">
				</td>
			</tr>
		{/if}
		{if $e.field == 'e_21' || $e.field == 'e_23' || $e.field == 'e_25'} {*EF_USR_LOCALIDAD*}
		<tr>
			<td valign="top" width="200px"><b>{$e.question}:</b></td>
		   	<td valign="top">{$e.value}</td>
		</tr>
		{/if}
	
	{/if}
	
	{/foreach} 
	<!-- Extra Fields: USERS Stop  -->
	<tr>
		<td colspan="2"><img alt="Contactar" src="layout_images/new/Boton-Contactar.jpg" onclick="javascript: showPopUpContactoVendedor(0,{$user_id});" style="cursor: pointer;padding: 2px;"/></td>
	</tr> 
	</table>
</td></tr></table>


{*if $set_comment_system}


<form method="post" action="user_info.php">
<input type="hidden" name="user_id" value="{$user_id}" />
<table cellpadding="10" cellspacing="0" class="box">
<tr><th colspan="2">{$smarty.const.LA_FEEDBACK}</th></tr>
{if $comment_list}
	{foreach item=c from=$comment_list}
	<tr class="{cycle values=",alt"}">
	<td width="150">#{$c.comment_id} {$smarty.const.LA_BY} <a href='user_info.php?user_id={$c.comment_userid}' alt=''>{$c.comment_by}</a>
	<br />&nbsp;&nbsp;&nbsp;{$c.comment_date}
	</td>
	<td>{$c.comment_body}</td>
	</tr>
	{/foreach}
	{/if}
			
			
	<tr>
		<td colspan="2">
		
		{if $set_comment_done}
		<b>{$smarty.const.LA_COMMENT_RECORDED}</b>
		{/if}
			
		<p>&nbsp;</p>
	
		{if !$set_comment_done}
			{$smarty.const.LA_COMMENT_QUESTION}
			
			{if !$isLoggedIn} {$smarty.const.LA_COMMENT_QUESTION2}.{/if}				
			<input type="hidden" name="id" value="{$ad_id}">
		{/if}	
		
		
		
		
		</td>
	</tr>
			
	{if $isLoggedIn && !$set_comment_done}
	<tr>	
		<td>{$smarty.const.LA_FEEDBACK}</td>
		<td><textarea cols="40" rows="5" name="comment_body"></textarea></td>
	</tr>
	
	<tr>
		<td colspan="2"><input type="submit" name="submit" value="{$smarty.const.LA_COMMENT_ADD}"></td>
	</tr>
	{/if}
	
			
	</form>

</table>
{/if*}

<br /><br />	
	<table cellspacing="0" class="box ads-table mvial-search-table" style="clear:both;">
<tr>
	<th width="10%">{$PICTURE_URL} {$smarty.const.PICTURE_TEXT}</a></th>
	<th width="30%">{$CATEGORY_URL} {$smarty.const.CATEGORY}</a> {$image_cat}</th>	
	<th width="40%">{$AD_URL} {$smarty.const.TITLE} </a></a></th>
	<th width="300">{$TIPO_URL} {$smarty.const.LA_TYPE}</a> {$image_tipo}</th>	
</tr>			  

{foreach item=ad from=$ads}
{*if $ad.NB is even by 1}
	<tr class="alt">
{else}
	<tr>
{/if*}
<tr>
	<td>{$ad.IMAGEYESNO}</td>
	<td>{$ad.CATEGORYNAME}</td>
	<td class="pointer"><a href="{$ad.LINK}">
	{if $ad.SPECIAL}<b>{/if}{$ad.TITLE|truncate:35:"...":true}{if $ad.SPECIAL}</b>{/if}</a></td>
	
	<td>	{if $ad.SPECIAL}<b>{/if}
				{if $ad.cat_grandfatherid == $smarty.const.ID_CAT_COMPRA}
					{$smarty.const.OPERACION_VENTA}
				{else}
					{$smarty.const.OPERACION_ALQUILER}
				{/if}
				{if $ad.SPECIAL}</b>{/if}&nbsp;
	</td>
</tr>
<!-- <td bgcolor="{$ad.COLOR}">{$ad.e_3}</td> -->
{/foreach} 
</table>
<table cellspacing="0" style="clear:both;">
<tr>
<td colspan="7" align="center">
{if $prev_url} 
	<a href="{$prev_url}" class="button nextPrev">&lt; {$smarty.const.PREVIOUS_ADS} {$NUM_PER_PAGE}</a> 
{else}
	
{/if}


{if $next_url}	
	<a href="{$next_url}" class="button nextPrev">{$smarty.const.NEXT_ADS} {$NUM_PER_PAGE} &gt;</a> 
{else}	

{/if}
</td>
</tr>
</table>

</div>